package com.atguigu.service.impl;

import com.atguigu.dao.PortDao;
import com.atguigu.dao.impl.PortDaoImpl;
import com.atguigu.pojo.Port;
import com.atguigu.service.PortService;

import java.util.List;

public class PortServiceImpl implements PortService {
    PortDao portDao=new PortDaoImpl();
    @Override
    public List<Port> queryPortsByServiceId(String serviceId) {
        return portDao.queryPortsByServiceId(serviceId);
    }
}
